<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>电路 | Hugo Theme Dream</title>

    



<meta name="author" content="Lindixuan" />
<meta name="description" content="" />



<meta name="generator" content="Hugo 0.63.2" />

<link rel="canonical" href="https://lindixuan.gitee.io/post/%E7%94%B5%E8%B7%AF/" />


<meta property="og:title" content="电路" />
<meta property="og:description" content="" />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://lindixuan.gitee.io/post/%E7%94%B5%E8%B7%AF/" />
<meta property="article:published_time" content="2020-10-12T23:51:40+08:00" />
<meta property="article:modified_time" content="2020-10-12T23:51:40+08:00" />



<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="电路"/>
<meta name="twitter:description" content=""/>


<link rel="stylesheet" href="/css/semantic.min.css" />
<link rel="stylesheet" href="/css/OverlayScrollbars.min.css" />
<link rel="stylesheet" href="/css/github-markdown.css" />
<link rel="stylesheet" href="/css/site.css" />


<style>
  a {
    color: seagreen !important;
  }
</style>



<style>
  .inverted a {
     color: darkseagreen !important;
  }
</style>


    


  
    <link rel="stylesheet" data-highlight href="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release/build/styles/gruvbox-light.min.css" />
  



  </head>

  
  <body style="background: white;">
  
    
<nav class="ui secondary inverted menu dream-menu">

  <div class="item">
    <i class="large link bullseye icon dream-flip-toggle" title="Flip it!"></i>
  </div>
  <div class="item">
    <i class="large link home icon" title="Home" onclick="window.location.href = 'https:\/\/lindixuan.gitee.io'"></i>
  </div>
  <div class="item">
    <i class="large link icon theme-switch" onclick="themeSwitch()"></i>
  </div>
  
  <div class="item">
    <i class="large link search icon" onclick="toggleSearch()"></i>
  </div>
  
</nav>

    <div class="flip-container">
      <div class="flipper">
        <section class="front">
          <div class="dream-max-width">
            
<div class="ui centered relaxed grid dream-grid">
  <div class="sixteen wide mobile sixteen wide tablet twelve wide computer column markdown-body dream-single">

    <section class="ui top attached segment" id="dream-save-post-as-img">
      <header style="margin-top: 0 !important;">
        <h1 class="ui large header">
          电路
          <div class="sub header">
            @
            
              Lindixuan
            
            · Monday, Oct 12, 2020
            · 1 minute read
            · Update at Oct 12, 2020
          </div>
        </h1>
      </header>

      
        <img class="ui image" style="margin-top: 2rem;" src="" />
      

      <article style="margin-top: 2rem;"><h1 id="硬件编程--电路与二进制运算">硬件编程&ndash;电路与二进制运算</h1>
<h2 id="任务-1建立一个简单电路">任务 1：建立一个简单电路</h2>
<h3 id="1-设计与门验证电路">（1） 设计与门验证电路</h3>
<p><img src="https://lindixuan.gitee.io/post/assets/%E7%94%B5%E8%B7%AF/%E4%B8%8E%E9%97%A8%E7%94%B5%E8%B7%AF.png" alt="pic"></p>
<h3 id="2-画真值表验证与门功能">（2） 画真值表验证与门功能</h3>
<p><img src="https://lindixuan.gitee.io/post/assets/%E7%94%B5%E8%B7%AF/%E4%B8%8E%E9%97%A8%E8%A1%A8.png" alt="pic"></p>
<h3 id="3选做题如何用-xor-门作非门">（3）选做题：如何用 XOR 门作非门。</h3>
<p>电路作为异或门一个输入，另一个输入为高电平，可实现异或门用作非门</p>
<p><img src="https://lindixuan.gitee.io/post/assets/%E7%94%B5%E8%B7%AF/%E5%BC%82%E6%88%96%E7%94%B5%E8%B7%AF.png" alt="pic"></p>
<h2 id="任务-2验证电路等价">任务 2：验证电路等价</h2>
<h3 id="1分别建立电路-abc和-abac-在一个界面上用-abc-用三个开关控制输入用两个-led-表示输出">（1）分别建立电路 A（B+C）和 AB+AC 在一个界面上。用 A，B，C 用三个开关控制输入，用两个 LED 表示输出。</h3>
<p><img src="https://lindixuan.gitee.io/post/assets/%E7%94%B5%E8%B7%AF/%E7%94%B5%E8%B7%AF2.png" alt="pic"></p>
<h3 id="2并枚举所有可能输入用真值表记录结果">（2）并枚举所有可能输入，用真值表记录结果。</h3>
<p><img src="https://lindixuan.gitee.io/post/assets/%E7%94%B5%E8%B7%AF/%E7%94%B5%E8%B7%AF2%E7%9C%9F%E5%80%BC%E8%A1%A8.png" alt="pic"></p>
<h2 id="任务-3理解存储电路">任务 3：理解存储电路</h2>
<h3 id="1按课件-s-r-latch-搭建电路">（1）按课件 S-R latch 搭建电路</h3>
<p><img src="https://lindixuan.gitee.io/post/assets/%E7%94%B5%E8%B7%AF/sr.png" alt="pic"></p>
<h3 id="2顺序按setreset并填写以下表格">（2）顺序按Set，Reset，并填写以下表格</h3>
<p><img src="https://lindixuan.gitee.io/post/assets/%E7%94%B5%E8%B7%AF/%E7%9C%9F%E5%80%BC3.png" alt="pic"></p>
<h2 id="任务-4设计全加电路">任务 4：设计全加电路</h2>
<h3 id="1-画出一位的全加电路">（1） 画出一位的全加电路</h3>
<p><img src="https://lindixuan.gitee.io/post/assets/%E7%94%B5%E8%B7%AF/%E4%B8%80%E4%BD%8D%E5%85%A8%E5%8A%A0%E5%99%A8.png" alt="pic"></p>
<h3 id="2-画出二位的全加电路">（2） 画出二位的全加电路</h3>
<p><img src="https://lindixuan.gitee.io/post/assets/%E7%94%B5%E8%B7%AF/%E4%BA%8C%E4%BD%8D%E5%85%A8%E5%8A%A0%E5%99%A8.png" alt="pic"></p></article>
    </section>

    <footer class="ui attached segment dream-tags">
      
          <a class="ui label">No Tags</a>
      
      <div
        class="ui label"
        style="float: right; cursor: pointer;"
        onclick="savePostAsImg()">
        <i class="save icon"></i>Save as image
      </div>
    </footer>

    

    
    
    

  </div>
  <div class="sixteen wide mobile sixteen wide tablet four wide computer column">
    <article class="dream-header">
  <section class="ui top attached center aligned segment">
    <div class="ui small circular image">
      
        <img src="/img/sleep.jpg">
      
    </div>

    
    <h1 class="ui medium header">Lindixuan&#39;s blog<div class="sub header" style="margin-top: 0.5rem;">好耶！</div>
    </h1>
    

    <div class="ui horizontal list">
      
      <a class="item" href="/tags">
        <i class="tags icon" title="All Tags"></i>
      </a>
      <a class="item" href="/categories">
        <i class="th list icon" title="All Categories"></i>
      </a>
    </div>
  </section>

  

  

  <section class="ui attached segment header-socials">
    <nav class="ui secondary menu dream-menu dream-socials">
  
  
    <div class="item">
      <a href="mailto:1228210482@qq.com">
        <i class=" mail icon" title="Email"></i>
      </a>
    </div>
  

  

  

  

  

  

  

  
</nav>

  </section>

  <section class="ui bottom attached center aligned segment">
    
      <p>© 2020 - 2021 Hugo Theme Dream</p>
    

    <p>Powered by <a href="https://gohugo.io/" target="_blank">Hugo</a> with theme <a href="https://github.com/g1eny0ung/hugo-theme-dream" target="_blank">Dream</a>.</p>

    
  </section>
</article>

  </div>
</div>

          </div>
        </section>
        <section class="back">
          <div class="dream-max-width">
            <div class="ui centered relaxed grid dream-grid dream-back">
  
  
  

  <section class="sixteen wide mobile eight wide tablet four wide computer column dream-column">
    <article>
      <div class="ui top attached segment">
        <h3 class="ui header">Social Links</h3>
      </div>
      <div class="ui bottom attached segment">
        <nav class="ui secondary menu dream-menu dream-socials">
  
  
    <div class="item">
      <a href="mailto:1228210482@qq.com">
        <i class="large mail icon" title="Email"></i>
      </a>
    </div>
  

  

  

  

  

  

  

  
</nav>

      </div>
    </article>
  </section>

  <section class="sixteen wide mobile eight wide tablet four wide computer column dream-column">
    
  </section>

  
    
  
</div>

          </div>
        </section>
      </div>
    </div>

    <script>
  window.darkNav =  true 
</script>
<script src="/js/jquery.min.js"></script>
<script src="/js/semantic.min.js"></script>
<script src="/js/jquery.overlayScrollbars.min.js"></script>
<script src="/js/header.js"></script>
<script src="/js/main.js"></script>
<script src="/js/theme.js"></script>

    
<script src="/js/html2canvas.min.js"></script>
<script src="/js/post.js"></script>


  <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release/build/highlight.min.js"></script>

  
    
      <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release/build/languages/ocaml.min.js"></script>
     
  

  <script>
  hljs.initHighlightingOnLoad()
  setHighlightTheme()

  function setHighlightTheme() {
    var isDark = localStore.getItem('hugo-theme-dream-is-dark')
    var lightTheme = "gruvbox-light"
    var darkTheme = "gruvbox-dark"
    var theme = isDark ? darkTheme : lightTheme

    $('link[data-highlight]').attr('href', 'https://cdn.jsdelivr.net/gh/highlightjs/cdn-release/build/styles/' + theme + '.min.css')
    $('pre').css('background', isDark ? '#333' : '')
  }
</script>





    
      <div class="ui inverted segment" id="dream-search">
  <div class="ui search">
    <div class="ui transparent input">
      <input class="prompt" type="text" placeholder="Search" />
    </div>
    <div class="results"></div>
  </div>
</div>
<script>
  $(document).ready(function () {
    $.getJSON('https:\/\/lindixuan.gitee.io/index.json', function (data) {
      $('.ui.search').search({
        source: data,
        searchFields: ['title'],
        showNoResults: true,
      })
    })
  })
</script>
<script src="/js/search.js"></script>

    

    
  </body>
</html>
